
public class a {
	public void SayHelloPublic()
	{
		System.out.println("Say Hello World Public!!!");
	}
	//mainclass s = new mainclass();
	protected void SayHelloProtected()
	{
		System.out.println("Say Hello World Protected!!!");
	}
	private void SayHelloPrivate()
	{
		System.out.println("Say Hello World Private!!!");
	}
}
public class b{
	a aObject = new a();
	
}
